package com.jingdianjichi.user.service;


import com.jingdianjichi.entity.PageResult;
import com.jingdianjichi.user.entity.dto.UserDto;
import com.jingdianjichi.user.entity.po.UserPo;

public interface UserService {

    /**
     * 新增用户
     */
    int addUser(UserDto userDto);

    /**
     * 删除用户
     */
    int deleteUser(Integer id);

    PageResult<UserPo> getUserPage(UserDto userDto);
}
